package io.github.talelin.latticy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.github.talelin.autoconfigure.exception.NotFoundException;
import io.github.talelin.latticy.dto.ActivityDTO;
import io.github.talelin.latticy.mapper.ActivityMapper;
import io.github.talelin.latticy.mapper.CouponMapper;
import io.github.talelin.latticy.model.Activity;
import io.github.talelin.latticy.model.ActivityDetail;
import io.github.talelin.latticy.model.BannerItem;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tanrentao
 * @since 2021-08-10
 */
public interface ActivityService extends IService<Activity> {

    void create(ActivityDTO dto);

    void update(ActivityDTO dto, Integer id);

    ActivityDetail getDetailById(Integer id);
}
